project(AuthSqlite)

set(SQLITECPP_SRC ${CMAKE_CURRENT_SOURCE_DIR}/../../3rd_libs/SQLiteCpp)

add_subdirectory(${SQLITECPP_SRC} SQLiteCpp_SRC)
add_library(${PROJECT_NAME} STATIC SqliteAuthPlugin.cpp UserDB.cpp AclDB.cpp)

target_link_libraries(${PROJECT_NAME} SQLiteCpp)